package sanrenxing.dayEnd.backRepertoryTotal.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import sanrenxing.dayEnd.backRepertoryTotal.dao.AssetValuationDao;
import sanrenxing.dayEnd.backRepertoryTotal.domain.AssetValuation;
import sanrenxing.dayEnd.backRepertoryTotal.service.AssetValuationBiz;

import java.util.List;

/**
 * 功能：资产估值业务层实现类
 * 作者：赵思睿
 * 日期：2021/3/30 0030-15:14
 * 版本：1.0
 */
@Service
public class AssetValuationBizImpl implements AssetValuationBiz {
    @Autowired
    private AssetValuationDao assetValuationDao;
    /**
     * 查询显示资产估值
     *
     * @return
     */
    @Override
    public List<AssetValuation> findAll() {
        return assetValuationDao.findAll();
    }

    /**
     * 删除证券应收应付库存表中之前的估值增值数据
     *
     * @return
     */
    @Override
    public int delete() {
        return assetValuationDao.delete();
    }
}
